package com.link.base.base.approval.service;


import com.link.base.base.approval.model.ApprovalRule;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * 审批规则-审批规则 
 *
 * @author 姚江漪
 * @date 2019/05/29 14:12
 */
public interface ApprovalRuleService extends BasicService<ApprovalRule> {

    /**
     * 查询未关联该流程的规则
     *
     * @author 姚江漪
     * @date 2019/05/29 14:12
     */
    public List<ApprovalRule> queryUnSelectFlowListPage(ApprovalRule record) throws Exception;

    /**
     * 校验是否存在符合规则的审批流程
     *
     * @author 姚江漪
     * @date 2019/06/03 16:43
     */
    public String checkRules(String flowType, String recordId) throws Exception;
}
